/**
 * 
 */
package com.itinsys.enma.domain.response;

import java.util.HashMap;
import java.util.Map;



/**
 * @author pferraz
 *
 */
public abstract class Response {
	
	public static int OK=200;
	public static int ERROR=500;
	private Integer responseCode;
	private String message;
	private Map<Integer,String> messagesCode;
	
	public void init(){
		this.messagesCode=new HashMap<Integer,String>();
		getMessagesCode().put(OK, "OK");
		getMessagesCode().put(ERROR, "ERROR");
	}
	
	public Integer getResponseCode() {
		return responseCode;
	}
	public void setResponseCode(Integer responseCode) {
		this.responseCode = responseCode;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Map<Integer, String> getMessagesCode() {
		return messagesCode;
	}
	public void setMessagesCode(Map<Integer, String> messagesCode) {
		this.messagesCode = messagesCode;
	}
	
	
	
	
	
	
	
}
